package com.htgd.gardenexpo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 景区百科表
 * </p>
 *
 * @author author
 * @since 2024-05-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ge_con_scene")
@ApiModel(value="GeConScene对象", description="景区百科表")
public class GeConScene implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "缩略图")
    private String thumbnail;

    @ApiModelProperty(value = "关键字")
    private String keywords;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createtime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "发布时间")
    private Date releasetime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审核时间")
    private Date authtime;

    @ApiModelProperty(value = "点击量")
    private Integer hit;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "新闻排序")
    private Integer sort;

    @ApiModelProperty(value = "是否置顶 0.否 1.是")
    private Integer isTop;

    @ApiModelProperty(value = "状态 0.待审核 1.已审核 2.审核失败 3.已发布 -1.已删除 4.未提交")
    private String status;

    @ApiModelProperty(value = "素材类型")
    private Integer materialTypeId;

    @ApiModelProperty(value = "素材地址")
    private String pathUrl;

    @ApiModelProperty(value = "创建者id")
    private Integer createUserId;

    @ApiModelProperty(value = "作者")
    private String createUser;

    @ApiModelProperty(value = "审核人员id")
    private Integer authUserId;

    @ApiModelProperty(value = "审核者")
    private String authUser;

    @ApiModelProperty(value = "是否发布到首页 0.否  1.是")
    private Integer isHome;

    @ApiModelProperty(value = "显示状态  0.隐藏 1.显示")
    private Integer isDisplay;

    @ApiModelProperty(value = "编辑人id")
    private Integer editorId;

    @ApiModelProperty(value = "发布人id")
    private Integer publisherId;

    @ApiModelProperty(value = "分类")
    private Integer type;

    @ApiModelProperty(value = "编辑人")
    private String editorName;

    @ApiModelProperty(value = "发布人")
    private String publisherName;

    @ApiModelProperty(value = "颜色")
    private String color;

    @ApiModelProperty(value = "是否推荐('0':否，'1':是)")
    private String recommendType;

    @ApiModelProperty(value = "是否推荐文本")
    @TableField(exist = false)
    private String recommendTypeText;

    @ApiModelProperty(value = "点赞数")
    private Integer likeNumber;

    @ApiModelProperty(value = "热门状态（'0':不热门，'1':热门）")
    private String hot;

    @ApiModelProperty(value = "是否推荐热门")
    @TableField(exist = false)
    private String hotText;

    @ApiModelProperty(value = "是否喜欢（false:无，true：喜欢）")
    @TableField(exist = false)
    private Boolean isLike;


}
